
import 'package:json_annotation/json_annotation.dart';
import 'package:reabampos/src/reabam/operation/bean/base/rb_request.dart';
import 'package:reabampos/src/reabam/operation/bean/base/rb_response.dart';

//定义生成的文件 flutter pub run build_runner build --delete-conflicting-outputs
part 'api_upload_order_task.g.dart';

@JsonSerializable(explicitToJson: true)
class Request_upload_order extends RBBaseRequest{

  String? taskId;
  String? typeCode;
   String? fastOrderNo;
   String? pushJson;
   String? pushVersion;
   String? pushClient;

   Request_upload_order(
      {
         this.taskId,
         this.typeCode,
         this.fastOrderNo,
         this.pushJson,
         this.pushVersion,
         this.pushClient,
      }):super();

   //添加固定格式
   factory Request_upload_order.fromJson(Map<String, dynamic> json) => _$Request_upload_orderFromJson(json);
   @override
  Map<String, dynamic> toJson() => _$Request_upload_orderToJson(this);

}


@JsonSerializable(explicitToJson: true)
class Response_upload_order extends RBBaseResponse{

  BeanDataUploadOrder? data;

  Response_upload_order({this.data});

  //添加固定格式
  factory Response_upload_order.fromJson(Map<String, dynamic> json) => _$Response_upload_orderFromJson(json);
  @override
  Map<String, dynamic> toJson() => _$Response_upload_orderToJson(this);

}

@JsonSerializable(explicitToJson: true)
class BeanDataUploadOrder{

   bool? synSuccess;
   bool? businessSuccess;
   String? businessErrorMsg;
   String? orderId;


   BeanDataUploadOrder();


   //添加固定格式
   factory BeanDataUploadOrder.fromJson(Map<String, dynamic> json) => _$BeanDataUploadOrderFromJson(json);
   Map<String, dynamic> toJson() => _$BeanDataUploadOrderToJson(this);

}

